package evolution;

import evolution.ResourceFactory;

public class StubResourceFactory implements ResourceFactory
{
	private final TimeKeeper timeKeeper;

	public StubResourceFactory(TimeKeeper timeKeeper)
	{
		this.timeKeeper = timeKeeper;
	}

	public StubDirectory createDirectory(String name)
	{
		return new StubDirectory(name, timeKeeper);
	}

	public StubFile createFile(String name)
	{
		return new StubFile(name, timeKeeper);
	}

}
